/*主框架*/
.content{
    padding: 5px;
    padding-left: 10px;
}

/*按钮大小*/
/*.btn{
    padding: 2px 4px;
    font-size: 12px;
}*/

/*数据表格，字体大小*/
.ui-jqgrid-btable{
    font-size: 12px;
}

/*table 表头*/
/*thead th {*/
    /*font-size: 12px;*/
    /*text-align:center;*/
/*}*/
.ui-jqgrid .ui-jqgrid-htable {
    border-top: 1px solid #ddd;
}
.ui-jqgrid .ui-jqgrid-view{
    /*top: -7px;*/
}
.ui-jqgrid .ui-jqgrid-htable .ui-th-div {
    height: 16px;
    margin: -2px -3px;
    display: inine-block;
}
.ui-jqgrid .ui-jqgrid-htable thead th {
    font-size: 12px;
    text-align:center;
    border-bottom: none;
    line-height: 20px;
}
.ui-th-div{
     line-height: 13px;
 }
.ui-jqgrid-sortable{
    line-height: 20px;
}

/*表单*/
/*.form-control {
    height: 26px;
    font-size: 12px;
    padding: 0px 12px;
}*/
/*.col-sm-2 {
    width: 206px;
}*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    padding: 7px;
    line-height: 1;
}
.form-div{
    float: left;
}
.form-horizontal .control-label{
    padding-top: 3px;
}
.panel{
    font-size: 12px;
}

/*树结构*/
.treegrid-table tbody {
    font-size: 12px;
}
.table>thead>tr>th {
    font-size: 12px;
}

/*分页底部栏*/
.ui-jqgrid .ui-pg-table td {
    font-size: 12px;
}

/*switch样式*/
.iSwitch{
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    background: #dcdcdc;
    border:1px solid #dcdcdc;
    box-shadow: 0 0 0px #dcdcdc;
    overflow: hidden;
    vertical-align: middle;

}
.iSwitch input{
    visibility: hidden;
}
.iSwitch i{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 50%;
    height: 100%;
    border-radius: 100%;
    background: #fff;
}
.iSwitch i::before{
    content: " ";
    display: none;
    width: 200%;
    height: 100%;
    border-radius: 25%;
    background: #00e765;
}
.iSwitch i::after{
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #fff;
}
.iSwitch input:checked + i{
    transform:translateX(100%);
    -webkit-transform:translateX(100%);
}
.iSwitch input:checked + i:before{
    display: inline-block;
    transform:translateX(-50%);
    -webkit-transform:translateX(-50%);
}

